package com.bean;

import com.sun.imageio.plugins.common.I18N;

/**
 * 收藏表
 */
public class Favorite {
    private Integer id;//收藏ID
    private Integer userId;//用户ID
    private Integer videoId;//视频ID

    public Favorite(Integer id, Integer userId, Integer videoId) {
        this.id = id;
        this.userId = userId;
        this.videoId = videoId;
    }

    @Override
    public String toString() {
        return "Favorite{" +
                "id=" + id +
                ", userId=" + userId +
                ", videoId=" + videoId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Favorite() {
    }
}
